package com.shyroke.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.shyroke.entity.ArticlePingLun;

public interface ArticlePingLunMapper {
    int deleteByPrimaryKey(Integer id);

	int insert(ArticlePingLun record);

	int insertSelective(ArticlePingLun record);

	ArticlePingLun selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(ArticlePingLun record);

	int updateByPrimaryKey(ArticlePingLun record);

    /**
     * 获取�?有评�?
     * @param articleId 文章id
     * @return
     */
	List<ArticlePingLun> selectByArticleId(@Param("articleId")Integer articleId);
}